package nasif.cn.imagewikis.quarz;

import javax.annotation.Resource;

import nasif.cn.imagewikis.image.ListenerChain;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

public class CrawlerTask extends QuartzJobBean{
	@Resource
	ListenerChain listenerChain;
	@Override
	protected void executeInternal(JobExecutionContext context) throws JobExecutionException {
		listenerChain.execute();
	}

}
